package com.csdn.leon.model;

import java.io.Serializable;

/** 
 * ITEM的对应可序化队列属性
 *  */
public class LabelModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6465237897027410019L;
	/** 
	 * 栏目对应ID
	 *  */
	public Integer id;
	/** 
	 * 栏目对应NAME
	 *  */
	public String name;
	/** 
	 * 栏目在整体中的排序顺序  rank
	 *  */
	public Integer orderId;
	/** 
	 * 栏目是否选中
	 *  */
	public Integer selected;
	
	public int blogType;
	
	public int colorId;

	public LabelModel() {
	}

	public LabelModel(int id, String name, int orderId,int selected , int blogType) {
		this.id = Integer.valueOf(id);
		this.name = name;
		this.orderId = Integer.valueOf(orderId);
		this.selected = Integer.valueOf(selected);
		this.blogType = blogType;
		this.colorId  = colorId;
	}

	public int getId() {
		return this.id.intValue();
	}

	public String getName() {
		return this.name;
	}

	public int getOrderId() {
		return this.orderId.intValue();
	}

	public Integer getSelected() {
		return this.selected;
	}

	public void setId(int paramInt) {
		this.id = Integer.valueOf(paramInt);
	}

	public void setName(String paramString) {
		this.name = paramString;
	}

	public void setOrderId(int paramInt) {
		this.orderId = Integer.valueOf(paramInt);
	}

	public void setSelected(Integer paramInteger) {
		this.selected = paramInteger;
	}

	

	public int getBlogType() {
		return blogType;
	}

	public void setBlogType(int blogType) {
		this.blogType = blogType;
	}

	public int getColorId() {
		return colorId;
	}

	public void setColorId(int colorId) {
		this.colorId = colorId;
	}

	@Override
	public String toString() {
		return "LabelModel [id=" + id + ", name=" + name + ", orderId="
				+ orderId + ", selected=" + selected + ", blogType=" + blogType
				+ ", colorId=" + colorId + "]";
	}
	
}